<template>
  <el-table-column :="attrs">
    <template v-if="$slots.header" #header>
        <slot name="header" />
    </template>
    <template v-if="$slots.default" #default="scope">
        <slot :="scope" />
    </template>
  </el-table-column>
</template>

<script setup lang="ts">
import { useAttrs } from 'vue'
import { ElTableColumn } from 'element-plus'
const attrs = useAttrs()
</script>
